from mycelery.main import app
from lyapi.libs.yuntongxun.send_sms import send_message


@app.task(name='send_sms')
def send_sms(code, phone):
    ret = send_message(code, phone)
    return ret


@app.task
def send_sms2():
    return '发送短信2'
